package com.rt.easyjava.base.biz1.bean.base;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.rt.easyjava.base.biz1.bean.TmptTbColumnBiz;
import lombok.*;

import java.io.Serializable;
import java.util.Date;


/**
 *
 * @author wuxiaoyong
 * @since 2020-07-04
 */

@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TmptTbColumn extends Model<TmptTbColumnBiz>{

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String columnname;
    private String columnnamesql;
    private String columnnamesqlsum;
    private String columnshowname;
    private Integer isfrozencolumn;
    private Integer needsum;
    private Integer sort;
    private Integer ishidden;
    private Integer canadd;
    private Integer tmptTableId;
    private Integer isquery;
    private String columntype;
    private Integer issortcolumn;
    private String optionssql;
    private Integer dataresource;
    private String optionspage;
    private String tablealiasname;
    private Integer columnwidth;
    private Date createdate;
    private String createman;
    private Integer deleteflag;
    private Date modifydate;
    private String modifyman;
    private Integer inputwidth4adddialog;
    private Integer linewidth4adddialog;
    private Integer required4adddialog;
    private String dataoptions4adddialog;
    private String style4adddialog;
    private Integer charttype;
    private String columnDatatype;
    private Integer columnIsnotnull;
    private String queryType;
    private String defaultValue;
    private String columnTip;
    private String dataTransfer;
    private String columnlayoutStyle4adddialog;
    private Integer createmanId;
    private Integer modifymanId;
    private Integer companyId;





    // 重写这个方法，return当前类的主键
    @Override
    protected Serializable pkVal() {
        return id;
    }

}
